import requests

from config import TEST_ENV


def Ihrm_token():
    resp=requests.post(url=f"{TEST_ENV}/api/sys/login",json={
            "mobile": "13800000002",
            "password": "123456"
        })

    token=resp.json().get('data')
    Ihrm_super_token=f"Bearer {token}"

    return Ihrm_super_token

